# -*- coding: UTF-8 -*-
'''
Created on 2012-6-21
默认参数值
@author: Administrator
'''
def say(message, times=1):
    print message * times
 
'''
 关键参数
 '''
def func(a, b=5, c=10):
    print 'a is', a, ' and b is', b, ' and c is', c
if __name__ == '__main__':
    say('hello')
    say('hello', 5)
    func(3, 7)
    func(25, c=24)
    func(c=50, a=100)
